function vs:system/hub/menu/init/generic
execute positioned ~ ~-0.35 ~ run function vs:system/hub/menu/interaction_box/summon

data merge entity @s {item:{id:"nether_star"}}

data modify entity @s item.components."minecraft:custom_data".hubMenu.tips set value {"text":"点击开始游戏","color":"green"}
data modify entity @s item.components."minecraft:custom_data".hubMenu.click_command set value "execute if function vs:system/game/test/can_start as @p[tag=inconfig] run function vs:game_start"

tag @s add hub.mainMenu.startGame